.class public Lcom/xingbook/audio/c/c;
.super Ljava/lang/Object;


# instance fields
.field public a:Landroid/content/Context;

.field public b:Lcom/xingbook/audio/b/b;

.field private c:Lcom/xingbook/service/download/f;

.field private d:Lcom/xingbook/park/d/e;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/xingbook/audio/b/b;Lcom/xingbook/service/download/f;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/xingbook/audio/c/c;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    iput-object p3, p0, Lcom/xingbook/audio/c/c;->c:Lcom/xingbook/service/download/f;

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/audio/c/c;->d:Lcom/xingbook/park/d/e;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 5

    iget-object v0, p0, Lcom/xingbook/audio/c/c;->d:Lcom/xingbook/park/d/e;

    iget-object v1, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->s()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/xingbook/park/d/e;->c(Ljava/lang/String;I)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/c/c;->d:Lcom/xingbook/park/d/e;

    iget-object v1, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v0, v1}, Lcom/xingbook/park/d/e;->a(Lcom/xingbook/audio/b/b;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/audio/c/c;->a:Landroid/content/Context;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/audio/c/c;->a:Landroid/content/Context;

    const-string v1, "\u6570\u636e\u5e93\u63d2\u5165\u5931\u8d25"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/audio/c/c;->c:Lcom/xingbook/service/download/f;

    iget-object v1, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v2}, Lcom/xingbook/audio/b/b;->u()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v3}, Lcom/xingbook/audio/b/b;->ah()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/xingbook/audio/c/c;->b:Lcom/xingbook/audio/b/b;

    invoke-virtual {v4}, Lcom/xingbook/audio/b/b;->X()I

    move-result v4

    invoke-interface {v0, v1, v2, v3, v4}, Lcom/xingbook/service/download/f;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    goto :goto_0
.end method
